﻿
namespace ContentFinder
{
    class ContentUsage
    {
        /// <summary>
        /// how this content be used?
        /// </summary>
        public string Usage { get; set; }

        public string FileFullname { get; set; }
        public int LineNum { get; set; }
        public string FileSuffix { get; set; }

        public ContentUsage(string usage, string fileFullName, int line)
        {
            this.Usage = usage;
            this.FileFullname = fileFullName;
            this.LineNum = line;
            this.FileSuffix = new System.IO.FileInfo(fileFullName).Extension.ToUpperInvariant();
        }
    }
}
